package com.zmj.sy.mom.srv.aps.bean.vo.apsworkdetail;

import com.zmj.sy.mom.srv.aps.utils.Comment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class ApsWorkDetailListResVo {

    private Integer id;

    @ApiModelProperty("工单编号")
    private String workOrderCode;

    @ApiModelProperty("工序名称")
    private String phaseName;

    @ApiModelProperty("工序编号")
    private String phaseCode;

    @ApiModelProperty("工单数量")
    private BigDecimal totalCount;

    @ApiModelProperty("完工数量")
    private BigDecimal finishCount;

    @ApiModelProperty("单件工时秒")
    private BigDecimal workTime;

    @ApiModelProperty("工作组ID")
    private Integer stationGroupId;

    @ApiModelProperty("作业能力：默认1倍")
    private BigDecimal workAbility;

    @ApiModelProperty("工作组编号")
    private String groupCode;

    @ApiModelProperty("工位ID")
    private Integer stationId;

    @ApiModelProperty("工位编号")
    private String stationCode;

    @ApiModelProperty("计划开始时间")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("计划完成时间")
    private LocalDateTime planEndDateTime;

    @Comment("预估工时 = 工时 + 间隔时间")
    private BigDecimal totalWorkTime;

    @Comment("转入标准工时(s)")
    private Integer enterTime;

    @Comment("转出标准工时(s)")
    private Integer outTime;

    @Comment("间隔标准工时(s)")
    private Integer changTime;

    @Comment("生产效率")
    private BigDecimal productivity;

    @Comment("工位班制")
    private String shiftName;

    @Comment("工作时长(h)")
    private Integer shiftTotalWorkTime;

    @Comment(value = "工作能力(h)")
    private Integer shiftValidTime;

    @Comment("工序顺序")
    private Integer phaseSeq;

    @Comment("工序缓存时间-值")
    private String cacheTimeValue;

    @Comment("工序缓存时间-单位：1天 2小时 3分 4秒")
    private Integer cacheTimeUnit;

}
